﻿namespace ufida.u9.ait.openapi
{
	using System;
	using System.Collections.Generic;
	using System.Text;
	using ufida.u9.ait.openapi.utils;
	using UFIDA.U9.PM.PO;
	using UFSoft.UBF.AopFrame;
	using UFSoft.UBF.Util.Context;

	/// <summary>
	/// POSaveOpenSV partial 
	/// </summary>	
	public partial class POSaveOpenSV
	{
		internal BaseStrategy Select()
		{
			return new POSaveOpenSVImpementStrategy();
		}
	}

	#region  implement strategy	
	/// <summary>
	/// Impement Implement
	/// 
	/// </summary>	
	internal partial class POSaveOpenSVImpementStrategy : BaseStrategy
	{
		public POSaveOpenSVImpementStrategy() { }

		public override object Do(object obj)
		{
			POSaveOpenSV bpObj = (POSaveOpenSV)obj;
            return CodeUtils.DocSaveRT<POAITDTOData, PurchaseOrder>(bpObj, bpObj.Data,
               POBase.CreateDoc, null);
        }
	}
	#endregion
}